package com.xcity.game.financial;

import naga.x.game.template.Template;
import naga.x.game.template.TemplateException;
import naga.x.game.template.annotation.Binding;
import naga.x.game.template.annotation.Excel;

/**
 * 理财
 * @author yang.li
 *
 */
@Excel(value = "financial.xlsx", sheet = 0)
public class FinancialTemplate extends Template {

	/** 产品名 */
	protected String name;

	/** 年化收益率% */
	protected int rate;

	/** 周期(天) */
	protected int period;

	/** 投资总额 */
	protected long total;

	/** 起投金额 */
	protected int min;
	
	/** 每人限购 */
	protected int limit;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getRate() {
		return rate;
	}

	public void setRate(int rate) {
		this.rate = rate;
	}

	public int getPeriod() {
		return period;
	}

	public void setPeriod(int period) {
		this.period = period;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public int getMin() {
		return min;
	}

	public void setMin(int min) {
		this.min = min;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	@Override
	public void validate() throws TemplateException {}
}
